package com.rainbow.bam.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import com.rainbow.bam.base.BaseRepository;
import com.rainbow.bam.entity.HtSource;

/**
 * 菜单Repository服务接口
 * 
 * @author zhaolei
 * @version $Id: HtSourceRepository.java, v 0.1 2015年11月19日 下午5:36:52 zhaolei Exp $
 */
@Repository("htSourceRepository")
public interface HtSourceRepository extends BaseRepository<HtSource, Long> {

    @Query("select t from HtSource t where t.status='A' order by t.style ASC")
    public List<HtSource> findAllHtSource();

}
